How to get an instance attribute which is the name of the instance itself